package com.rc.saas.mini.model.elec;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-06-22
 */

@ApiModel(value=" elec_gun ", description=" 枪信息表-2022-05-09 ")
public class ElecGun extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long elecGunId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "加盟商ID")
    private Long operatorId;
 
    @ApiModelProperty(value = "第三方运营商作为设备开放的充电站（正向对接）,关联hlht_operator表")
    private String hlhtOperatorId;
 
    @ApiModelProperty(value = "第三方运营商作为设备开放的枪编号（正向对接）,如http://weixin.qq.com/q/02kRop9baeai_10000g03X ")
    private String hlhtGunNo;
 
    @ApiModelProperty(value = "第三方运营商作为设备开放的扫码充电二维码（正向对接）")
    private String hlhtGunQrcode;
 
    @ApiModelProperty(value = "桩群ID")
    private Long elecStationId;
 
    @ApiModelProperty(value = "桩ID")
    private Long elecPileId;
 
    @ApiModelProperty(value = "枪品牌")
    private String gunBand;
 
    @ApiModelProperty(value = "类型,1: 家用插座（模式2); 2: 交流接口插座（模式3, 连接方式B); 3: 交流接口插头（带枪线，模式3, 连接方式C); 4: 直流接口枪头（带枪线，模式4); 5: 无线充电座；6: 其他")
    private Integer gunType;
 
    @ApiModelProperty(value = "枪编号（第三方运营商正向对接时枪号有可能重复）")
    private String gunNo;
 
    @ApiModelProperty(value = "枪顺序号")
    private String gunNum;
 
    @ApiModelProperty(value = "额定电压上限")
    private Integer voltageUpperLimits;
 
    @ApiModelProperty(value = "额定电压下限")
    private Integer voltageLowerLimits;
 
    @ApiModelProperty(value = "额定电流")
    private Integer current;
 
    @ApiModelProperty(value = "额定功率")
    private BigDecimal power;
 
    @ApiModelProperty(value = "当前充电SOC")
    private BigDecimal soc;
 
    @ApiModelProperty(value = "停车场车位编号")
    private String parkNo;
 
    @ApiModelProperty(value = "车位状态")
    private Integer parkStatus;
 
    @ApiModelProperty(value = "国家标准")
    private String nationalStandard;
 
    @ApiModelProperty(value = "地锁状态")
    private Integer lockStatus;
 
    @ApiModelProperty(value = "设备生产商组织机构代码ID")
    private Long manufacturerId;
 
    @ApiModelProperty(value = "设备生产商组织机构编号")
    private String hlhtManufacturerId;
 
    @ApiModelProperty(value = "设备生产商名称")
    private String hlhtManufacturerName;
 
    @ApiModelProperty(value = "枪排序号")
    private Integer sortNum;
 
    @ApiModelProperty(value = "使用状态 0 空闲 1使用中  2 插枪中 3已充满默认0")
    private Integer status;
 
    @ApiModelProperty(value = "是否正常 0 正常 1 枪锁故障 255 故障 默认0")
    private Integer normalStatus;
 
    @ApiModelProperty(value = "运营状态:0 未上线 1上线 2下线 默认0")
    private String operateStatus;
 
    @ApiModelProperty(value = "充电前是否需要重试读取枪状态,0不重试 1重试 默认0，按品牌默认设置(op_plugin_type)")
    private String opPluginType;
 
    @ApiModelProperty(value = "结算前是否需要先拔枪, 0不需先拔枪 1需拔枪 默认0，按品牌默认设置(op_plugin_type)")
    private String opCloseType;
 
    @ApiModelProperty(value = "null")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getElecGunId() {
        return elecGunId;
    }

    public void setElecGunId(Long elecGunId) {
        this.elecGunId = elecGunId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getHlhtOperatorId() {
        return hlhtOperatorId;
    }

    public void setHlhtOperatorId(String hlhtOperatorId) {
        this.hlhtOperatorId = hlhtOperatorId;
    }

    public String getHlhtGunNo() {
        return hlhtGunNo;
    }

    public void setHlhtGunNo(String hlhtGunNo) {
        this.hlhtGunNo = hlhtGunNo;
    }

    public String getHlhtGunQrcode() {
        return hlhtGunQrcode;
    }

    public void setHlhtGunQrcode(String hlhtGunQrcode) {
        this.hlhtGunQrcode = hlhtGunQrcode;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public Long getElecPileId() {
        return elecPileId;
    }

    public void setElecPileId(Long elecPileId) {
        this.elecPileId = elecPileId;
    }

    public String getGunBand() {
        return gunBand;
    }

    public void setGunBand(String gunBand) {
        this.gunBand = gunBand;
    }

    public Integer getGunType() {
        return gunType;
    }

    public void setGunType(Integer gunType) {
        this.gunType = gunType;
    }

    public String getGunNo() {
        return gunNo;
    }

    public void setGunNo(String gunNo) {
        this.gunNo = gunNo;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public Integer getVoltageUpperLimits() {
        return voltageUpperLimits;
    }

    public void setVoltageUpperLimits(Integer voltageUpperLimits) {
        this.voltageUpperLimits = voltageUpperLimits;
    }

    public Integer getVoltageLowerLimits() {
        return voltageLowerLimits;
    }

    public void setVoltageLowerLimits(Integer voltageLowerLimits) {
        this.voltageLowerLimits = voltageLowerLimits;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public BigDecimal getPower() {
        return power;
    }

    public void setPower(BigDecimal power) {
        this.power = power;
    }

    public BigDecimal getSoc() {
        return soc;
    }

    public void setSoc(BigDecimal soc) {
        this.soc = soc;
    }

    public String getParkNo() {
        return parkNo;
    }

    public void setParkNo(String parkNo) {
        this.parkNo = parkNo;
    }

    public Integer getParkStatus() {
        return parkStatus;
    }

    public void setParkStatus(Integer parkStatus) {
        this.parkStatus = parkStatus;
    }

    public String getNationalStandard() {
        return nationalStandard;
    }

    public void setNationalStandard(String nationalStandard) {
        this.nationalStandard = nationalStandard;
    }

    public Integer getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(Integer lockStatus) {
        this.lockStatus = lockStatus;
    }

    public Long getManufacturerId() {
        return manufacturerId;
    }

    public void setManufacturerId(Long manufacturerId) {
        this.manufacturerId = manufacturerId;
    }

    public String getHlhtManufacturerId() {
        return hlhtManufacturerId;
    }

    public void setHlhtManufacturerId(String hlhtManufacturerId) {
        this.hlhtManufacturerId = hlhtManufacturerId;
    }

    public String getHlhtManufacturerName() {
        return hlhtManufacturerName;
    }

    public void setHlhtManufacturerName(String hlhtManufacturerName) {
        this.hlhtManufacturerName = hlhtManufacturerName;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getNormalStatus() {
        return normalStatus;
    }

    public void setNormalStatus(Integer normalStatus) {
        this.normalStatus = normalStatus;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getOpPluginType() {
        return opPluginType;
    }

    public void setOpPluginType(String opPluginType) {
        this.opPluginType = opPluginType;
    }

    public String getOpCloseType() {
        return opCloseType;
    }

    public void setOpCloseType(String opCloseType) {
        this.opCloseType = opCloseType;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
